StoreEngine\API\Payment S

Total Complexity 39
Dependencies 7
Dependents 1
Total lines 281
Lines of code 234
Logical lines of code 95
Comment lines 9
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
get_payments()
A
40 8 64
create_payment()
A
46 7 41
get_payment()
S
54 7 19
prepare_item_for_response()
S
51 6 23
register_routes()
S
47 1 43
get_item()
S
62 3 11
check_payment_permissions()
S
66 2 8
init()
S
69 1 6
check_admin_permissions()
S
80 1 3
permissions_check()
S
80 1 3
collect_payment()
S
77 1 3
prepare_links()
S
64 1 10